<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/27
 * Time: 14:50
 */
namespace app\blog\model;
use think\Model;
class ShopTypeModel extends Model
{
    /**
     * 根据代理id获取记录
     */
    public function getShoptype($id){
        $result = $this->where(['age_id'=>$id])->select();
        return $result;
    }

}
